<?php
namespace frontend\widgets\chat;
/**
 * 留言板组件
 *
 */

use frontend\models\FeedForm;
use Yii;
use yii\bootstrap\Widget;
//use yii\base\Object;

class ChatWidget extends Widget{
    public function run()
    {
        $feed = new FeedForm();
        $data['feed'] = $feed->getList();
//        var_dump($data);die;
        return $this->render('index',['data'=>$data]);
    }
}